package pack0916;

public class DemoG {
    public static void main(String[] args) {
        // 输出1-10十个数
        int i = 1;
        while (i < 11) {

            System.out.println(i);
            i++;
        }
        System.out.println("---------------------------------------------------");

        for (int j = 1; j < 11; j++) {
            System.out.println(j);
        }
    }
}